package com.caixin.domain.user.types.unique;

import com.caixin.domain.common.Identifier;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 用户
 *
 * @author wbcaicx
 * @version 1.0.0
 * @createTime 2021年12月07日 15:19
 */
@Getter
@Setter
@Accessors(chain = true)
@AllArgsConstructor
public class UserId implements Identifier<Long> {

    private final Long id;

    @Override
    public Long getValue() {
        return id;
    }
}


